package com.mhs.dataclassification.processA;

public class Process_ai {
	public static double calculate_ai(int K, Long currentTime, Long time_i_k){
		double ai = 0;
		Long lTemp = currentTime - time_i_k;
		if(lTemp != 0){
			ai = ((double)K)/lTemp;
		}else{
			// do nothing 
		}
		return ai;
	}
}
